<?php defined('APP_PATH') or exit('Access Denied');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>简历列表</title>
<link rel="stylesheet" type="text/css" href="vonuo/static/css/vonuo.css">
<script type="text/javascript" src="vonuo/static/js/jquery.min.js"></script>
<script type="text/javascript" src="vonuo/static/js/tablecolor.js"></script>
</head>

<body>
<div class="gs_wraper gs_p_l0">
	<div class="tab_box">
		<table width="100%" border="0" cellpadding="0" cellspacing="0"  class="common_table">
			<tr>
				<th width="70"><input type="checkbox" onclick="$('.all_check').attr('checked',$(this).attr('checked'))" class="all_check" /><label>编号</label></th>
				<th width="200">应聘职位</th>
				<th width="100">姓名</th>
				<th width="70">性别</th>
				<th width="70">电话</th>
				<th width="70">手机</th>
				<th width="100">邮箱</th>
				<th width="100">IP</th>
				<th width="120">提交时间</th>
				<th width="100">管理</th>
			</tr>
			<form action="" method="post">
			<?php foreach($jianli as $row){?>
			<tr>
				<td><input name="id[]" type="checkbox" value="<?php echo $row['id'];?>" class="all_check" /><label><?php echo $row['id'];?></label></td>
				<td><?php echo $row['job'];?></td><td><?php echo $row['name'];?></td><td><?php if($row['sex']==0){?>男<?php }else{ ?>女<?php } ?></td>
				<td><?php echo $row['tel'];?></td><td><?php echo $row['mobile'];?></td><td><?php echo $row['email'];?></td>
				<td><?php echo $row['ip'];?></td><td><?php echo date('Y-m-d H:i:s', $row['time']);?></td>
				<td><a href="<?php echo spUrl('jianli','show',array('id'=>$row['id']));?>">[详细]</a><a href="<?php echo spUrl('jianli','del',array('id'=>$row['id']));?>" onclick="return confirm('确定删除？');">[删除]</a></td>
			</tr>
			<?php }?>
			</form>
			<tr class="bottom">
				<td colspan="10" align="right" valign="middle">
				<?php if($pager){?>
					<a href="javascript:;" onclick="location.href=('<?php echo spUrl('jianli','lis');?>&page='+(document.getElementById('gopage').value > <?php echo $pager['total_page'];?> ? <?php echo $pager['total_page'];?> : document.getElementById('gopage').value))" class="btn_jump f_right m_t_3">跳转</a>
					<span class="txt_color">每页<?php echo $pager['page_size'];?>条/共<?php echo $pager['total_count'];?>条记录</span>
					<span class="txt_color">当前<?php echo $pager['current_page'];?>/<?php echo $pager['total_page'];?>页</span>
					<?php if($pager['current_page']!=$pager['first_page']){?><a href="<?php echo spUrl('jianli','lis',array('page'=>$pager['first_page']));?>">首页</a><?php }else{?><a href="javascript:;">首页</a><?php }?>
					<a href="<?php echo spUrl('jianli','lis',array('page'=>$pager['prev_page']));?>">上一页</a><a href="<?php echo spUrl('jianli','lis',array('page'=>$pager['next_page']));?>">下一页</a>
					<?php if($pager['current_page']!=$pager['last_page']){?><a href="<?php echo spUrl('jianli','lis',array('page'=>$pager['last_page']));?>">末页</a><?php }else{?><a href="javascript:;">末页</a><?php }?>
					<label>第</label><input type="text" class="page_input" id="gopage" size="3" value="<?php echo $pager['current_page'];?>" /><label>页</label>
				<?php }?>
				</td>
			</tr>
  		</table>
	</div>
</div>
</body>
</html>